package com.fcscs.cservice.client.common.model.configuration.checkin;

import com.fcscs.core.common.MainEnums.HasDisplayString;
import com.fcscs.core.common.MainEnums.Language;
import com.fcscs.share.gwt.common.ShareGWTConstants;

public enum LanguageGWTEnum implements HasDisplayString {
	ENGLISH(ShareGWTConstants.SHARE_GWT_CONSTANTS.english(), Language.ENGLISH),
	CHINESE_S(ShareGWTConstants.SHARE_GWT_CONSTANTS.simplifiedChinese(), Language.CHINESE_S),
	CHINESE_T(ShareGWTConstants.SHARE_GWT_CONSTANTS.traditionalChinese(), Language.CHINESE_T),
	;
    
	private String displayStr;
	private Language lang;
	
	private LanguageGWTEnum(String displayStr, Language lang) {
		this.displayStr = displayStr;
		this.lang = lang;
	}

	@Override
	public String getDisplayStr() {
		return displayStr;
	}

	public Language getLang() {
		return lang;
	}

}
